package net.jueb.frameworkDemo.se.luaj;

import org.luaj.vm2.Globals;
import org.luaj.vm2.LuaValue;
import org.luaj.vm2.lib.jse.JsePlatform;

public class RunLuaScript {
	
	public static void main(String[] args) {
		Globals globals = JsePlatform.standardGlobals();
//		LuaValue chunk = globals.load("print 'hello, world'");
//		chunk.call();
		LuaValue chunk = globals.loadfile("swingapp.lua");
		chunk.call();
	}
}

